package com.dubbo.service.impl;

import com.dubbo.pojo.User;
import com.dubbo.service.PrividerMessageService;
import lombok.extern.slf4j.Slf4j;
import org.apache.dubbo.config.annotation.Service;

@Service(version = "1.0.0")
@Slf4j
public class PrividerMessageImpl implements PrividerMessageService {

    @Override
    public String consume(User user) {
        log.info("provider come in");
       return "hello rabbitmq";
    }
}
